from rest_framework.generics import ListAPIView
from . import models, serializers


class BannersListAPIView(ListAPIView):
    queryset = models.Banner.objects.filter(is_show=True, is_delete=False)
    serializer_class = serializers.BannersModelSerializer
